package be.one.paq.ui.page.reporting;

import org.vaadin.navigator7.Page;

import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;

@Page(uriName="reporting")
@SuppressWarnings("serial")
public class ReportingPage extends CustomComponent {
	
	public ReportingPage() {
		VerticalLayout mainLayout = new VerticalLayout();
        mainLayout.setSpacing(true);
        mainLayout.setSizeFull();
        setCompositionRoot(mainLayout);

        mainLayout.addComponent( new Label("Note the uri: '#reporting' instead of 'ReportingPage' (page class name)." +
        		" This is due to the @Page(uriName=\"reporting\") annotation on the Reporting class." ));
	}

}
